package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.FieldContentVo;
import com.zb.entity.ZjNetworkTeamAuthenFieldContent;

import java.util.List;

/**
 * <p>
 * 网点团队认证字段内容表，当zj_network_team_authen_field表字段type=3/4时，单选/多选内 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-01-31
 */
public interface ZjNetworkTeamAuthenFieldContentService extends IService<ZjNetworkTeamAuthenFieldContent> {

    /**
     * 保存或更新单选或多选内容
     * @param custAccId 商家ID
     * @param networkTeamAuthenFieldId 服务商团队认证字段ID
     * @param contentVos
     */
    void save(Long custAccId, Long networkTeamAuthenFieldId, List<FieldContentVo> contentVos);

    /**
     * 根据服务商团队认证字段ID获取单选/多选内容
     * @param networkTeamAuthenFieldId 服务商团队认证字段ID
     * @return
     */
    List<ZjNetworkTeamAuthenFieldContent> getByNetworkTeamAuthenFieldId(Long networkTeamAuthenFieldId);

    /**
     * 根据服务商团队认证字段ID获取单选/多选内容
     * @param networkTeamAuthenFieldIds 服务商团队认证字段ID
     * @return
     */
    List<ZjNetworkTeamAuthenFieldContent> getByNetworkTeamAuthenFieldIds(List<Long> networkTeamAuthenFieldIds);

    /**
     * 批量删除认证字段
     * @param networkTeamAuthenFieldIds 认证字段ID
     */
    void deleteBatchByNetworkTeamAuthenFieldIds(List<Long> networkTeamAuthenFieldIds);
}
